package com.wteam.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wteam.PoJo.VO.member;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface Membermapper extends BaseMapper<member> {

    @Insert("update shop.li_member  set face =#{face} where username=#{username} ")
    void upload(@Param("face") String face, @Param("username") String username);

    @Select("select point from shop.li_member where id=#{id}")
    Integer selectpointbyId(@Param("id") Integer id);
}
